Repository navigation
CI: make the weekly evaluation able to catch regressions - #4
Merged
Merged
Conversation
- Commit outputs/baseline.json (the 2026-12-02 full run). Without it, regression_check.py prints "No baseline found" and exits 0, so the job could never fail. - Run scripts/patch_ragas_vertexai_shim.py after pip install. Without the shim, `import ragas` fails and RAGAS metrics are skipped silently. Verified locally: identical results pass; a copy with FAISS Hit Rate@5 lowered from 0.925 to 0.5 exits 1 with "REGRESSION DETECTED". Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The weekly
Continuous RAG Evaluationjob is skipped because the repo has noOPENAI_API_KEYsecret. Adding the secret alone would not help, for 2 reasons:outputs/baseline.jsonwas never committed, soregression_check.pyprints "No baseline found" and exits 0. The job could never fail.requirements.txtbut never runs the ragas compatibility shim, soimport ragasfails and RAGAS metrics are dropped without an error.What
outputs/baseline.json, taken from the 2026-12-02 full run (same numbers as the README screenshots).scripts/patch_ragas_vertexai_shim.pyin the install step.Tests
REGRESSION DETECTED, exit 1.After merge
Add the
OPENAI_API_KEYrepo secret (Settings → Secrets and variables → Actions), then run the workflow once via Run workflow to confirm.🤖 Generated with Claude Code